package factory

// ==================
// factory-aware: bean标识意识以及生命周期
// ==================

// Aware aware标识，空接口
type Aware interface {

	// Aware 标识函数
	Aware()
}

// BeanFactoryAware bean factory aware
type BeanFactoryAware interface {
	// Aware Aware接口
	Aware
	// SetBeanFactory 设置bean factory
	SetBeanFactory(BeanFactory[interface{}])
}

// BeanNameAware bean name aware
type BeanNameAware interface {
	// Aware Aware接口
	Aware
	// SetBeanName 设置bean name
	SetBeanName(string)
}
